﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iS3.DAL.Attributes
{
    /// <summary>
    /// 属性字段显示
    /// </summary>
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class PropertyNameAttribute:Attribute
    {
        private string _ChsName;

        public string ChsName
        {
            get { return _ChsName; }
            set { _ChsName = value; }
        }

        public PropertyNameAttribute(string chsName)
        {
            _ChsName = chsName;
        }
    }
}
